Deal with events from wrong display
authorMatthias Clasen <mclasen@redhat.com>
Mon, 15 Jun 2015 23:46:33 +0000 (19:46 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 15 Jun 2015 23:50:02 +0000 (19:50 -0400)
commite367c4baa0395c9cc7e7fafc70459c9e63b66322
treebafe39c75116287689bd4cda50d00abe696a56aa
parent002699402dd045e71bd108463a3f8cc7442ec538
Deal with events from wrong display

GtkInspector is opening a separate display connection, which makes
it more likely that gtk_get_current_event() returns an event from
the "wrong" display.
gtk/gtkmenu.c
gtk/gtkmenubutton.c